* DynDNS.rexx v1.0b by Giorgos Stagakis (gstag@geocities.com)
*/
/*** Configuration ***/
/* Your Monolith user ID */
userid = "fish17"
/* Your security code */
sec1 = "88" /* Part 1 */
sec2 = "88" /* Part 2 */
sec3 = "88" /* Part 3 */
/* Your Monolith hostname: <host>.dyn.ml.org */
host = "gallant"
/* Your machine type (One word) */
mactype = "Amiga1200"
/* Your operating system (One word) */
os = "AmigaOS3.0"
/* Is your machine a WWW server? (Yes/No) */
www = "Yes"
/*** Main program ***/
parse arg ipaddr
if ipaddr = '' then do
address command 'ifconfig ppp0 >T:tmp.ip'
if ~open(1,'T:tmp.ip','R') then exit
str = readch(1,65535)
parse var str . 'inet' ipaddr .
call close(1)
address command 'delete T:tmp.ip >nil:'
end
get = '/mis-bin/freed.cgi?mid='userid'&sec1='sec1'&sec2='sec2'&sec3='sec3'&do=mod&type=machine&domain='host'&db=dyn.ml.org&ipaddr='ipaddr'&mactype='mactype'&os='os'&WWW='www'&agree=agree'